
<template>
    <div>
        login页面
    </div>
</template>

<script>
    import { login } from "../../http/index.js"
    export default {
        name:"Login",
        methods:{
            login1(){
                login({username:"admin",password:"admin"}).then(res=>{
                    console.log(res)
                })
            }

        },
        mounted(){
            this.login1()
        }

    }
</script>

<style lang="" scoped>

</style>